﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="CydrbAnyTime.aspx.cs" Inherits="Reprb_Cydrb" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>
        <%=repName %>日数据</title>
    <link href="../css/SIS.css" rel="stylesheet" type="text/css" />

    <script language="javascript" type="text/javascript" src="../My97DatePicker/WdatePicker.js"></script>

    <script language="javascript" type="text/javascript" src="../Js/Excel.js"></script>

    <script type="text/javascript" language="javascript">
        function printsection()   
        {   
            var   aaa   =   document.all.show.innerHTML;   
            var   ddd   =   document.body.innerHTML;   
            document.body.innerHTML   =   aaa;   
            window.print();   
            document.body.innerHTML   =   ddd;   
            return   false;   
        } 
    </script>

</head>
<body>
    <form id="form1" runat="server">
    <div id="Div1">
        <img id="imgTop" height="38px;" src="../img/<%=bmp %>" width="100%" />
    </div>
    <div>
        <table style="width: 95%;">
            <tr>
                <td align="left">
                 &nbsp; &nbsp<label id="lalStime" runat="server" class="td_title">
                        起始日期:</label>
                    &nbsp;
                    <input type="text" id="qsrq" style="text-align: center;" runat="server" readonly="readonly"
                        onclick="WdatePicker({dateFmt:'yyyy-MM-dd HH:00:00'})" />
                    &nbsp;
                     &nbsp; &nbsp<label id="Label1" runat="server" class="td_title">
                        结束日期:</label>
                    &nbsp;
                    <input type="text" id="jsrq" style="text-align: center;" runat="server" readonly="readonly"
                        onclick="WdatePicker({dateFmt:'yyyy-MM-dd HH:00:00'})" />
                    &nbsp;
                    <asp:Button ID="btnChaXun" runat="server" Text="查 询" class="nvinput" OnClick="btnChaXun_Click" />
                    &nbsp; &nbsp; &nbsp;
                  <%--  <asp:Button ID="btnPre" runat="server" Text="上一日" class="nvinput" OnClick="btnPre_Click" />
                    &nbsp; &nbsp; &nbsp;
                    <asp:Button ID="btnNext" runat="server" Text="下一日" class="nvinput" OnClick="btnNext_Click" />
                    &nbsp; &nbsp; &nbsp;--%>
                    <input type="button" id="btnPrint" value="打 印" class="nvinput" onclick="return printsection()" />
                    &nbsp; &nbsp; &nbsp;
                    <input style="" type="button" id="btnExportCSV" value="导出Excel" class="nvinput" onclick="toExcel(CX)" />
                </td>
            </tr>
        </table>
    </div>
    <%-- <table width="90%" border="1" align="center" class="bg" valign="top" bordercolorlight="#999999"
        bordercolordark="#FFFFFF" cellspacing="0" cellpadding="1" id="CX">--%>
    <%-- <tr style="width: 80%;" bgcolor="#CFE6FC">
            <td style="width: 20%;">
                <div align="center">
                指 标 名 称
            </td>
            <td style="width: 10%;">
                <div align="center">
                单 位
            </td>
            <td style="width: 10%;">
                <div align="center">
                设计值
            </td>
            <td style="width: 10%;">
                <div align="center">
                #1机
            </td>
            <td style="width: 10%;">
                <div align="center">
                #2机
            </td>
            <td style="width: 10%;">
                <div align="center">
                全厂
            </td>
        </tr>--%>
    <div id="show" runat="server">
    </div>
    <%--</table>--%>
    </form>
</body>
</html>
